import 'package:flutter/material.dart';
import 'package:sj001/pages/views/aiModelItem.dart';
import '../../model/aiModels.dart';

class SuggestPage extends StatefulWidget {
  const SuggestPage({Key? key}) : super(key: key);

  @override
  State<SuggestPage> createState() => _SuggestPageState();
}

class _SuggestPageState extends State<SuggestPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        decoration: BoxDecoration(color: Colors.white),
        child: ListView.builder(
          itemBuilder: (ctx, index) {
            AiModel model = aiList[index];
            return AiModelItem(model);
          },
          itemCount: aiList.length,
        ),
      ),
    );
  }
}



